package com.fyp.erp;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;

/**
 * Created by IntelliJ IDEA.
 * User: Malik
 * Date: 6/29/11
 * Time: 12:39 AM
 * To change this template use File | Settings | File Templates.
 */
public class CorporateHome extends Activity {
    public void onCreate (Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.corporatehome);
        Button btn = (Button) findViewById(R.id.btnFRM);
        btn.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                Intent i = new Intent("com.fyp.erp.FRMhome");
                startActivity(i);
            }

        });
        Button btn2 = (Button) findViewById(R.id.btnSCM);
        btn2.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                Intent i = new Intent("com.fyp.erp.ModuleSCM");
                startActivity(i);
            }

        });
        
        Button btn3 = (Button) findViewById(R.id.btnHRM);
        btn3.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                Intent i = new Intent("com.fyp.erp.HRMhome");
                startActivity(i);
            }

        });
        
        Button btn4 = (Button) findViewById(R.id.btnCRM);
        btn4.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                Intent i = new Intent("com.fyp.erp.CRMhome");
                startActivity(i);
            }

        });
    }
}